# routing.py - WebSocket路由配置
from django.urls import re_path
from . import consumers

websocket_urlpatterns = [
    re_path(r'ws/detect/$', consumers.YoloDetectionConsumer.as_asgi()),
]